package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Date;

@Getter@Setter
public class Respond extends BaseDomain{
    //问题id
    private QuestionsAndAnswers question;
    //内容
    private String details;
    //评论人id
    private User other;
    //评论时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMD+8")
    private Date createTime;


}